total = 0
factorial = 1
for i in range(1, 11):
    factorial *= i
    total += factorial
print(f"1到10阶乘之和为：{total}")
